html, body {
    color: #FFFFFF;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #000; /* Fallback background color */
overflow-x: hidden; /* Prevent horizontal scrolling */
}

body.MyGradientClass {
    background: linear-gradient(to top, 
        rgb(20,40,60) 0%,    /* Dark grey at the base */
        rgb(10,20,30) 50%,   /* Slightly darker grey in the middle */
        rgb(0,0,0) 100%   /* Near-black at the top */
    );
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
}

/* Text Styling */
td {
    color: #FFFFFF;
    font-family: Verdana;
    font-size: 18px;
}

.td2 {
    color: #FFFFFF;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.playtest-banner {
    border: 1px solid red;
    padding: 10px;
    margin: 10px 0;
    background-color: #000000;
    display: inline-block;
}


/* Link Styling */
a:link, a:visited, a:active {
    color: #5cffff;
    text-decoration: none;
}

a:hover {
    color: #FFF;
    text-decoration: none;
}

/* Title Styling */
.title {
    color: #E89F38;
    font-size: 20px;
}

.title a:hover {
    color: #FFF;
}

.title2 {
    color: #DE93F8;
    font-size: 22px;
    font-weight: bold;
}

/* Buttons */
.button {
    background: linear-gradient(to bottom, #365372 5%, #000000 100%);
    border: 2px solid #4E6C9E;
    border-radius: 6px;
    color: #89A7C7;
    font-family: Verdana;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 2px 2px 0px #000000;

    /* Added for centering and better padding */
    padding: 10px 20px; /* Adjust padding for larger clickable area */
    display: inline-flex; /* Flex layout for proper centering */
    align-items: center; /* Vertically center text and icon */
    justify-content: center; /* Horizontally center content */
    gap: 10px; /* Space between text and icons */
    cursor: pointer; /* Ensure it shows a pointer on hover */
}

.button:hover {
    background: linear-gradient(to bottom, #000000 5%, #365372 100%);
    color: #FFFF71;
}

.button:active {
    position: relative;
    top: 1px;
}

.button img {
    width: 20px; /* Adjust size of the image */
    height: auto;
    vertical-align: middle; /* Ensures it aligns nicely with the text */
}

.button2 {
    border-radius: 0px;
}


/* Input and Textarea Styling */
input, textarea, select {
    font-size: 14px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #E89F38;
    background-color: #000;
    border: 1px solid #0A2539;
    padding: 0.1em 0.5em 0.2em 0.5em;
    border-radius: 5px;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    width: 70%; /* Resize logo to half its size */
    max-width: 600px; /* Ensure it's not too large on wider screens */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure it's treated as a block-level element */
    margin: 0 auto; /* Center the image */
}

/* Video */

.iframe-container {
    text-align: left; /* Align the content inside the container to the left */
    margin: 0; /* Remove any default centering */
    padding: 0; /* Remove padding if any exists */
}

.iframe-container iframe {
    display: block; /* Prevent inline behavior */
    margin: 0; /* Remove margin that could be causing centering */
}

iframe {
    display: block;
    margin: 20px auto;
border: 2px solid #000000; /* Adds a 2px solid black border */
    box-shadow: 0 0 5px rgba(0,0,0,0.5); /* Optional: adds a subtle shadow for depth */
}


@media (max-width: 768px) {
    iframe {
        width: 100%;
        height: auto;
    }

    img {
        width: 70%; /* Adjust for smaller devices */
    }
}

/* Layout container styles */
.layout-container {
    display: flex;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
}

/* Navigation Panel */
.side-panel {
    flex: 0 0 15%; /* Fixed width (15% of the viewport width) */
    background-color: #132433; /* Background color for navigation */
    color: #FFFFFF; /* Text color */
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* Scrollable if the content is too tall */
    position: sticky;
    top: 0; /* Ensures it stays visible */
    height: 100vh; /* Match full height of the viewport */
}

/* Main Content */
.main-panel {
    flex: 1; /* Take up the remaining width */
    overflow-y: auto; /* Allow scrolling for the main content */
    padding: 20px;
    background-color: #233C51;
    color: #d0d3d6;
}

/* Image Grid Styling */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 25px; /* Spacing between images */
}

.image-grid a {
    display: block;
    border: 2px solid black; /* Black border around each image */
    overflow: hidden;
}

.image-grid img {
    width: 100%; /* Ensure images fit within their containers */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove inline spacing around images */
    border: 1px solid black; /* Additional black border for images */
}
